export default {
  pages: [
    "pages/project/index",
    "pages/login/index",
    "pages/index/index",
    "pages/monitor/index",
    "pages/mine/index",
    "pages/lonlat/index",
    "pages/point_detail/index",
    "pages/point_coordinate/index",
    "pages/point_add_batch/index",
    "pages/point_change/index"
  ],
  subpackages: [
    {
      root: "pages/packagea",
      pages: [
        "project_info/index",
        "project_add/index",
        "project_user/index",
        "project_user_bind/index",
        "project_change/index"
      ]
    },
    {
      root: "pages/packageb",
      pages: [
        "detect_add/index",
        "detect_detail/index",
        "inspect_add/index",
        "inspect_done/index",
        "inspect_detail/index",
        "warn_detail/index"
      ]
    },
    {
      root: "pages/packagec",
      pages: ["point/index", "point_add/index"]
    }
  ],
  permission: {
    "scope.userLocation": {
      desc: "你的位置信息将用于添加项目和布点的经纬度" // 高速公路行驶持续后台定位
    }
  },
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black"
  },
  tabBar: {
    color: "#333",
    selectedColor: "#1f4ba5",
    backgroundColor: "#fff",
    list: [
      {
        pagePath: "pages/index/index",
        text: "总览",
        iconPath: "assets/images/a.png",
        selectedIconPath: "assets/images/b.png"
      },
      {
        pagePath: "pages/project/index",
        text: "工程",
        iconPath: "assets/images/c.png",
        selectedIconPath: "assets/images/d.png"
      },
      {
        pagePath: "pages/monitor/index",
        text: "监测",
        iconPath: "assets/images/e.png",
        selectedIconPath: "assets/images/f.png"
      },
      {
        pagePath: "pages/mine/index",
        text: "我的",
        iconPath: "assets/images/g.png",
        selectedIconPath: "assets/images/h.png"
      }
    ]
  }
};
